﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Pregnancy
{
    public interface IPregnancyNotifications
    {
        void InsertNotification(int dayCount, int pregnancyWeekId, string text, string description, string metadata, PregnancyNotificationType type,ref Model.NutriLeafDBEntities context);

        void InsertNotification(int dayCount, int pregnancyWeekId, string text, string description, string metadata, PregnancyNotificationType type, int pregnancyId, ref Model.NutriLeafDBEntities context);

        List<Model.PregnancyNotification> GetPregnancyNotificationsByPRegnancyId(int pregnancyId, ref Model.NutriLeafDBEntities context);

        Model.PregnancyNotification GetPegnencyNotificationById(int id, ref Model.NutriLeafDBEntities context);

        List<Model.PregnancyNotification> GetPregnancyNotificationByDayCount(int daycount, ref Model.NutriLeafDBEntities context);

        List<Model.PregnancyNotification> GetPregnancyNotificationByWeekId(int pregnancyWeekId, ref Model.NutriLeafDBEntities context);

        List<Model.PregnancyNotification> GetPregnancyNotificationByNotificationType(PregnancyNotificationType type, ref Model.NutriLeafDBEntities context);

        void Remove(int notificationId, ref Model.NutriLeafDBEntities context);

        void Update(Model.PregnancyNotification notification, ref Model.NutriLeafDBEntities context);

    }
}